import { Form } from '@/components/Form'
import { createFileRoute } from '@tanstack/react-router'
import { Random } from 'mockjs'
export const Route = createFileRoute('/front/create')({
    component: RouteComponent,
})

function RouteComponent() {
    const data = {
        title: Random.csentence(5, 10),
        content: Random.cparagraph(),
        preview: ''
    }

    return <Form title='发表文章' data={data} />
}
